package com.app.miwawa.api.system.entity.view;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.framework.common.api.entity.CommonEntityUUID;

import com.fasterxml.jackson.annotation.JsonFormat;

@Entity @Table(name="VB_SAAS_CALLERS")
public class CallersView extends CommonEntityUUID {

	/** serialVersionUID(long):. */
	private static final long serialVersionUID = 2843359117223740260L;
	
	private String shopname; 	//机构名称
	private String dbname;		//数据源
	private String unit; 		//单价 
	private String total;		//总价
	private String buylen;		//购买时长
	private String length;		//总时长
	private String rested; 		//剩余时长

	//创建时间
	@Temporal(TemporalType.TIMESTAMP)
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date createDate;

	public String getShopname() {
		return shopname;
	}

	public void setShopname(String shopname) {
		this.shopname = shopname;
	}

	public String getDbname() {
		return dbname;
	}

	public void setDbname(String dbname) {
		this.dbname = dbname;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getTotal() {
		return total;
	}

	public void setTotal(String total) {
		this.total = total;
	}

	public String getBuylen() {
		return buylen;
	}

	public void setBuylen(String buylen) {
		this.buylen = buylen;
	}

	public String getLength() {
		return length;
	}

	public void setLength(String length) {
		this.length = length;
	}

	public String getRested() {
		return rested;
	}

	public void setRested(String rested) {
		this.rested = rested;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
}
